package com.ibeeking.found.workflow.service.common.constants;

/**
 * @ClassName RedisKeyConstant
 * @Description
 * @Author ibeeking
 * @Date 2020-12-01 19:02
 **/
public class RedisKeyConstant {

    public static final String MODULE = "FLW:";

    public static final String PAGE_BASE = "PAGE_BASE:";
    public static final String PAGE_MODULE = "PAGE_MODULE:";
    public static final String PAGE_MODULE_LIST = "PAGE_MODULE_LIST:";
    /**
     * 页面浏览量 key
     */
    public static final String PAGE_BROWSE_COUNT = "PAGE_BROWSE_COUNT:";

    public static final String PAGE_BROWSE_COUNT_TOTAL_FIELD = "TOTAL";
    /**
     * 分类树
     */
    public static final String CATEGORY_TREE_LIST = MODULE +"CATEGORY_TREE_LIST";
    /**
     * session缓存的键前缀。
     */
    public static final String SESSION_ID = "SESSIONID:";
    /**
     * 在HTTP Request对象中的属性键。
     */
    public static final String REQUEST_ATTRIBUTE_NAME = "tokenData";
    /**
     * 计算SessionId关联的数据权限数据存储于Redis中的键。
     */
    public static final String DATA_PERM = "DATA_PERM:";
    /**
     * 计算在线表对象缓存在Redis中的键值。
     */
    public static final String ONLINE_TABLE = "ONLINE_TABLE:";

}
